package com.neusoft.elm.dao;

import com.neusoft.elm.po.OrderDetailet;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface OrderDetailetDao {
@Insert("insert into orderDetailet  values (null,#{orderId},#{foodId},#{quantity})")
    public int saveOrderDetailet(OrderDetailet orderDetailet) throws Exception;
    public List<OrderDetailet> listOrderDetailetByOrderId(Integer orderId) throws Exception;
}
